package dao

import (
	"yk/global"
	"yk/internal/model"
)

func ListVideo(video *[]model.Video) bool {
	if err := global.DB.Find(&video).Error; err != nil {
		return false
	}
	return true
}
